﻿using Microsoft.Windows.Design.Metadata;

namespace ZoomTextBoxPhone.Design
{
    /// <summary>
    /// Provides design metadata.
    /// </summary>
    public class MetadataStore : IProvideAttributeTable
    {
        /// <summary>
        /// Stores the string used to refer to the "Common Properties" section.
        /// </summary>
        public static readonly string ControlProperties = "Zoom Properties";

        public AttributeTable AttributeTable
        {
            get
            {
                var attributeTableBuilder = new AttributeTableBuilder();
                attributeTableBuilder.AddTable(new ZoomTextBoxControlMetadata().CreateTable());
                return attributeTableBuilder.CreateTable();
            }
        }
    }
}
